import request from '@/utils/request'

// 查询队列信息
export function getQueueList(query) {
    return request({
        url: '/queue/queue',
        method: 'get',
        params: query
    })
}
//添加用户
export function addQueue(query) {
    return request({
        url: '/queue/queue',
        method: 'put',
        params: query
    })
}
//批量添加用户
export function addQueueBatch(query) {
    return request({
        url: '/queue/queueBatch',
        method: 'put',
        params: query
    })
}
export function callQueue(query) {
    return request({
        url: '/queue/over',
        method: 'delete',
        params: query
    })
}
export function skipQueue(query) {
    return request({
        url: '/queue/over',
        method: 'delete',
        params: query
    })
}
export function resetQueue(query) {
    return request({
        url: '/queue/clear',
        method: 'post',
        params: query
    })
}